<template>
  <div class="myappiontment-box">
    <div class="my-title">预约服务</div>
    <div class="my-content">
      <div @click="toAppoint">
        <van-icon name="todo-list-o" />
        <p>我的预约</p>
      </div>
      <div>
      </div>
      <div></div>
      <div></div>
    </div>
  </div>
</template>

<script>
export default {
  name: "",
  methods:{
    toAppoint(){
      // console.log('约看');
      this.$router.push('/myappointment')
    }
  }
};
</script>

<style scoped>
.myappiontment-box {
  margin: 0 10px;
  margin-bottom: 20px;
}
.my-title {
  font-size: 16px;
  font-weight: 700;
}
.my-content {
  display: flex;
  text-align: center;
  justify-content: center;
}
.my-content div {
  flex: 1;
  font-size: 20px;
  margin-top: 8px;
}
.my-content div p {
  margin-top: 3px;
  font-size: 12px;
}
.van-icon {
  color: #FF6564;
}
</style>